package test.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import test.dao.User2DtoMapper;
import test.model.User2Dto;

@Service
public class User2ServiceImpl implements User2ServiceI {

	@Autowired
	private User2DtoMapper user2DtoMapper;
	
	public int addUser(User2Dto user){
		return user2DtoMapper.insert(user);
	}

	
	
}
